#ifndef __BSP_IIC_H
#define __BSP_IIC_H

#include <STC89C5xRC.H>
#include <intrins.h>


sbit scl = P1^2;
sbit sda = P1^3;




void IIC_Start();

void IIC_SendACk(unsigned char AckBit);


unsigned char IIC_ReceiveAck();


void IIC_SendByte(unsigned char Byte);

unsigned char IIC_ReceiveByte();




void IIC_Stop();

#endif
